package com.zk.yygh.cmn.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "service-cmn",path = "/admin/cmn/dict/")
public interface DictFeignClient {
    @GetMapping("getName/{dictCode}/{value}")
    String getName(@PathVariable String dictCode, @PathVariable String value);

    @GetMapping("getName/{value}")
    String getName(@PathVariable String value);
}
